﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>
<%@ Import Namespace="THS.HtmlHelpers" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Home Page
   
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2><%: ViewData["Message"] %></h2>
    <%=THS.Resources.Global.Home_Index_Desc %>
    <p>
        To learn more about ASP.NET MVC visit <a href="http://asp.net/mvc" title="ASP.NET MVC Website">http://asp.net/mvc</a>.
        <%=Ajax.ImageActionLink("../../Images/Sys/vi_vn.gif", "Tiếng việt", "Home", new AjaxOptions{HttpMethod="Post", UpdateTargetId="abc"})%>
        
    </p>
    <%using (Ajax.BeginForm("Register", "Home", new AjaxOptions { HttpMethod = "POST", UpdateTargetId = "dvCaptcha" }))
      { %>
    <table>
    <tr>
    <td colspan="2">
    <div id="dvCaptcha">
        <%Html.RenderPartial("Captcha"); %>
    </div>
    </td>
    </tr>
    <tr>
    <td><%=THS.Resources.Global.lblInputCaptcha%>
    
    </td>
    <td><%=Html.TextBox("txtCaptcha")%></td>

    </tr>
    <tr><td colspan="2" align="center">
    <input type="submit" value="<%=THS.Resources.Global.btnRegister %>" />
    </td></tr>
    </table>
    <%} %>
</asp:Content>
